{% extends "base.html" %} {% block body %}

Fila de postagens

Novo post
{% if not days %}
Nada agendado ainda {% if has_accounts %}Escolha um vídeo e marque as contas onde ele vai sair.{% else %}Conecte sua primeira conta para começar a agendar.{% endif %}
{% if has_accounts %}Novo post{% else %}Conectar conta{% endif %}
{% endif %} {% for day in days %}
{{ day.name }}{{ day.date }}
{% for p in day.posts %}
{{ p.time }}

{{ p.caption or p.title or "Sem legenda" }}

{% for t in p.targets %} {{ t.account_name }} {% if t.status == 'publicado' %}{% elif t.status in ('erro','falhou') %}{% endif %} {% if t.views is not none %}{{ t.views }}{% endif %} {% endfor %}
{% for t in p.targets if t.remote_url %}{% endfor %} {% if p.editable %}
{% endif %}
{% endfor %}
{% endfor %} {% endblock %}